#include <stdio.h>

int main()
{
    int a; scanf("%d", &a);

    printf("%.1lf",( (a-100)*1.8));
    
    return 0;
}